package com.bwie.service;

import com.bwie.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.utils.Result;
import com.bwie.vo.UserPageVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* @author 陶仕豪
* @description 针对表【tb_user(用户表)】的数据库操作Service
* @createDate 2025-05-21 15:38:29
*/
public interface UserService extends IService<User> {

    Result getMenuTree(HttpServletRequest request);

    Result getUserList(UserPageVo userPageVo);

    Result amendUser(User user);

    Result upload(MultipartFile file);

    Result deleteUser(Integer userId);

    Result deleteUserAll(List<User> userList);

    Result checkUser(User user);
}
